package com.product.Dao;

import com.product.pojo.Product;

import java.util.List;

public interface ProductDao {
    int insert(Product product);
    int deleteById(int id);

    int update(Product product);

    Product selectByProductName(String name);
    List<Product> selectAll();

}
